package com.aaa.mapper.front;

import com.aaa.entity.Collect;
import com.aaa.entity.Goods;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

@Mapper
public interface CollectMapper {
    //收藏商品
    int doAddCollectGoods(Collect collect);
    //查询账号所关联的收藏
    List<Collect>findAllByCollect(Integer UserInfoId);
    //删除收藏
    int doDeleteByCollect(Integer collectId);


}
